package com.haogu.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.mysql.cj.conf.PropertyDefinitions;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_system_dict_type")
public class DictType {
    @TableId(type = IdType.AUTO)
    private Integer id;
    @TableField(value = "typeName")
    private String typeName;
    @TableField(value = "typeCode")
    private String typeCode;
    @TableField(value = "typeNote")
    private String typeNote;
    @TableField(value = "sortNum")
    private Integer sortNum;
    private Integer status;
    @TableField(value = "createTime",fill = FieldFill.INSERT)
    private Date createTime;
    @TableField(value = "updateTime",fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
    @TableField("createBy")
    private Integer createBy;
    @TableField("updateBy")
    private Integer updateBy;
    private Integer version;
    @TableLogic
    private Integer deleteStatus;
}
